



<div class="x-body">
  <form class="layui-form form_single" action="{:url()}" method="post">
    <div class="layui-form-item">
      <label  class="layui-form-label">
        用户名
      </label>
      <div class="layui-input-inline">
        <input type="text" id="username" name="username" value="{$info['username']|default=''}"
               autocomplete="off" class="layui-input"  disabled="disabled" >
      </div>
      <div class="layui-form-mid layui-word-aux">
        (用户名会作为默认的昵称)
      </div>

    </div>
    <div class="layui-form-item">
      <label for="old_password" class="layui-form-label">
        旧密码
      </label>
      <div class="layui-input-inline">
        <input type="password" id="old_password" name="old_password"
               autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-mid layui-word-aux">
        (旧密码)
      </div>
    </div>

    <div class="layui-form-item">
      <label for="password" class="layui-form-label">
        新密码
      </label>
      <div class="layui-input-inline">
        <input type="password" id="password" name="password"
               autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-mid layui-word-aux">
        (用户密码,不能小于6位)
      </div>
    </div>
    <div class="layui-form-item">
      <label for="password_confirm" class="layui-form-label">
        确认新密码
      </label>
      <div class="layui-input-inline">
        <input type="password" id="password_confirm" name="password_confirm"
               autocomplete="off" class="layui-input">
      </div>
      <div class="layui-form-mid layui-word-aux">
        (确认密码需要和密码一致)
      </div>
    </div>




    <!--<div class="layui-form-item">-->
    <!--<label for="describe" class="layui-form-label">-->
    <!--描述-->
    <!--</label>-->
    <!--<div class="layui-input-inline">-->
    <!--<textarea id="describe" class="layui-textarea" name="describe" maxlength="80" onchange="this.value=this.value.substring(0, 80)" onkeydown="this.value=this.value.substring(0, 80)" onkeyup="this.value=this.value.substring(0, 80)"    rows="3" placeholder="请输入文章描述信息/简介">{$info['describe']|default=''}</textarea>-->
    <!--</div>-->
    <!--<div class="layui-form-mid layui-word-aux">-->
    <!--(文章描述信息/简介)-->
    <!--</div>-->
    <!--</div>-->

    <div class="box-footer">

      <input type="hidden" name="id" value="{$info['id']|default='0'}"/>

      {include file="layout/edit_btn_group"/}

    </div>

  </form>
</div>



<script type="text/javascript">

  ob.setValue("is_hide", {$info.is_hide|default=0});
  ob.setValue("is_shortcut", {$info.is_shortcut|default=0});
  ob.setValue("pid", {$info.pid|default=0});

</script>


